package com.ruoyi.module.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程内容对象 fu_material_course
 *
 * @author fubojin
 * @date 2025-03-04
 */
@Data
@ApiModel(value = "课程内容")
@EqualsAndHashCode(callSuper = true)
public class MaterialCourse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 客户ID
     */
    @Excel(name = "客户ID")
    @ApiModelProperty(value = "客户ID")
    private Long userId;

    /**
     * 父id
     */
    @Excel(name = "父id")
    @ApiModelProperty(value = "父id")
    private Long parentId;

    /**
     * 类目名称
     */
    @Excel(name = "类目名称")
    @ApiModelProperty(value = "类目名称")
    private String name;

    /**
     * 类型（ ）
     */
    @Excel(name = "类型", readConverterExp = "类型（ ）")
    @ApiModelProperty(value = "类型（ ）")
    private Integer type;

    /**
     * 选择类目ID
     */
    @Excel(name = "选择类目ID")
    @ApiModelProperty(value = "选择类目ID")
    private Long levelOne;

    /**
     * 二级类目ID
     */
    @Excel(name = "二级类目ID")
    @ApiModelProperty(value = "二级类目ID")
    private Long levelTwo;

    /**
     * 三级类目ID
     */
    @Excel(name = "三级类目ID")
    @ApiModelProperty(value = "三级类目ID")
    private Long levelThree;

    /**
     * 图文
     */
    @ApiModelProperty(value = "图文")
    private String img;

    /**
     * 课程视频
     */
    @Excel(name = "课程视频")
    @ApiModelProperty(value = "课程视频")
    private String content;

    /**
     * 课程视频下载
     */
    @Excel(name = "课程视频下载")
    @ApiModelProperty(value = "课程视频下载")
    private String download;

    /**
     * 课程介绍
     */
    @Excel(name = "课程介绍")
    @ApiModelProperty(value = "课程介绍")
    private String courseIntroduction;

    /**
     * 排序
     */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Integer sort;

    /**
     * 点击量
     */
    @Excel(name = "点击量")
    @ApiModelProperty(value = "点击量")
    private Long hits;

    /**
     * 审核状态（1-待审核，2-审核通过，3-审核不通过）
     */
    @Excel(name = "审核状态", readConverterExp = "1=-待审核，2-审核通过，3-审核不通过")
    @ApiModelProperty(value = "审核状态（1-待审核，2-审核通过，3-审核不通过）")
    private Integer auditStatus;


}
